/* bsp_config.h */

#ifndef __BSP_CONFIG_H__
#define __BSP_CONFIG_H__

#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>

#define BSP_CLK_CORECLK_HZ 120000000UL
#define BSP_CLK_BUSCLK_HZ  60000000UL

/*!
 * @brief Do board initializaton.
 *
 * This function initializes the basic board system, including: 
 * - Enable all the PORT's clock.
 * - Update the Core clock record value.
 *
 * @return Core clock frequency in Hz.
 */
uint32_t BSP_InitSystem(void);

/*!
 * @brief Initialize debug UART terminal port.
 *
 * @param baudrate Setting UART baudrate.
 */
void BSP_InitStdioUART(uint32_t baudrate);

#endif /* __BSP_CONFIG_H__ */

